package org.business.accounting.components;

import org.apache.tapestry5.annotations.Component;
import org.apache.tapestry5.annotations.Parameter;
import org.apache.tapestry5.annotations.Property;
import org.apache.tapestry5.corelib.components.ActionLink;
import org.apache.tapestry5.corelib.components.PageLink;

@SuppressWarnings("unused")
public class Navigation {
	
	@Parameter(required = true)
	@Property
	private boolean userExists;
	
	@Component(parameters = {"page = Index"})
	private PageLink toIndex;
	
	@Component(parameters = {"page = Registration"})
	private PageLink toRegistration;
	
	@Component(parameters = {"page = Login"})
	private PageLink toLogIn;
	
	@Component(parameters = {"page = UserDetails"})
	private PageLink toUserDetails;
	
	@Component(parameters = {"page = ShowCart"})
	private PageLink toShowCart;
	
	@Component
	private ActionLink logOut;
	
}
